x86/EPT: drop redundant ept_p2m_type_to_flags() parameters
authorJan Beulich <jbeulich@suse.com>
Mon, 3 Feb 2020 12:08:06 +0000 (13:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 Feb 2020 12:08:06 +0000 (13:08 +0100)
commitef4666f63c9677b22a05b204e85fef5f207c0a5c
tree1ae116f39f87b5960eeb3b7b32e66034a85376a9
parent1afc776d22aac78bd0cf557aad08ac85be6617a7
x86/EPT: drop redundant ept_p2m_type_to_flags() parameters

All callers set the respective fields in the entry being updated before
the call.

Take the opportunity and also constify the first parameter as well as
make a few style adjustments.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/mm/p2m-ept.c